const Mock = require("mockjs");

const { bargainList } = Mock.mock({
  "bargainList|100": [
    {
      id: "@id",
      img: "@image(40x40,@color)",
      title: "@ctitle(5,20)",
      "num|1-200": 1,
      setTime: '@datetime("yyyy-MM-dd HH:mm:ss")',
      "oldPrice|100-300": 100,
      "newPrice|1-100": 1,
      keyWord: "@ctitle(5,10)",
      "classId|1": [1, 2, 3, 4, 5],
      "people|1-100": 1,
      "help|1-100": 1,
      "success|1-100": 1,
      "status|1": [1, 0] //状态
    }
  ]
});

module.exports = {
  bargainList
};
